package org.dromara.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.study.domain.entity.BookCategory;
import org.dromara.study.domain.vo.BookCategoryVo;

@Mapper
public interface BookCategoryMapper extends BaseMapper<BookCategory> {
    Page<BookCategoryVo> getPage(@Param("page") Page<BookCategory> pageQuery, @Param("bookCategory") BookCategoryVo bookCategory);
}
